generate To
Serializes a plan to a given output stream.
The resulting file will contain the plan file which is a JSON based format. The principal sections of the plan format are:
mission: an object that contains the mavlink command "items" array.
mission.items: an array of MavlinkCommand representations. Enriched with the optional "config" key which is an index in the config array (cf. below).
configs: an object that contains the config "items" array.
configs.items: a dictionary of Config representations to string indices.
Receiver
plan to serialize
Parameters
output
output stream to serialize the plan to
ground Station Name
identifies the ground station that creates this plan